import React from 'react'
// ===================================================================== private component
const SubmitFullPage = window.$Lazy.load(()=>import('#private/pages/submit-full-page'))
// ===================================================================== component
class Index extends React.Component{
	state = {
		// 提交表单列表
		formData : [
			{ label: '微信群ID',			name: 'room_name', 		full:true,		required:true },
			{ label: '@人',				name: 'wx_nickname', 	full:true,		required:true },
			{ label: '@人ID',			name: 'wx_id', 			full:true,		required:true },
			{ label: 'host',			name: 'host', 			full:true,		required:true },
			{ label: 'port',			name: 'port', 			full:true,		required:true }
		]
	}
	
	render(){
		return <SubmitFullPage api='conf-we-chat/info' title='微信配置' formData={this.state.formData} />
	}
}

export default Index